/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘国水
 * Date: 2025-05-29
 * Time: 9:54
 */
public class test {
    public static void main(String[] args) {
        String num = "10";
        System.out.println(num);
        double s = Double.parseDouble(num);
        int s1 = Integer.parseInt(num);
        System.out.println(s);
        System.out.println(s1);
    }
    public static void main2(String[] args) {
        int num = 100;

        String s1 = num + " ";
        System.out.println(s1);

        String s2 = String.valueOf(num);
        System.out.println(s2);
    }
    public static void main0(String[] args) {
        int a = 10;
        int b = 20;
        System.out.println("a+b = " + a + b);
        System.out.println("a+b = " +( a + b));
    }
    public static void main1(String[] args) {
        char a = 'a';
        char b = 97;
        char c = '哈';
        String d = "哈哈";


        System.out.println(a);
        System.out.println(b);
//        int a = 1;
//        System.out.println(a/2.0);
//
//        float b = 12.5f;
//        System.out.println(b);
    }
}
